package com.happy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.happy.entity.AnswerEntity;
import com.happy.entity.UserEntity;

import java.util.List;

/**
 * @Author: Wuzh
 * @Description:
 * @Date Created in 17:10 2021/1/31
 * @return
 */
public interface IAnswerService extends IService<AnswerEntity> {


    List<AnswerEntity> queryList ( AnswerEntity answerEntity );

    AnswerEntity querySingle ( AnswerEntity answerEntity );

    AnswerEntity addSingle ( AnswerEntity answerEntity );

    boolean addBatch ( List<AnswerEntity> answerEntities, UserEntity userEntity, int recordId );

}
